package chat.aylan.top.client;

import java.io.IOException;
import java.net.Socket;

public class Main {
    public static void main(String args[]){

        try {
            Socket socket = new Socket("127.0.0.1",10001);
            ReceiverThread receiverThread = new ReceiverThread(socket);
            SenderTread senderTread = new SenderTread(socket);
            new Thread(receiverThread).start();
            new Thread(senderTread).start();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
